package org.simplextensions.ui.view;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.swt.graphics.Image;

public abstract class ASWTView extends AView<ISWTViewRegion> {

	private static final Log log = LogFactory.getLog(ASWTView.class);

	public void init(ISWTViewRegion viewRegion) {
		super.init(viewRegion);
		log.info("init: " + getClass().getCanonicalName());
		viewRegion.setImage(getImage());
	}

	protected Image getImage() {
		return null;
	}

	public void dispose() {
	}

}
